Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

huff0: Populate compression table #275

Merged
merged 2 commits into from
Aug 11, 2020

Conversation

klauspost
Copy link
Owner

Populate the "previous" compression when reading table.

Add mode that forces reuse of previous table and never generates a new.

Allow bare table to be used.

Populate the "previous" compression when reading table.

Add mode that forces reuse of previous table and never generates a new.

Allow bare table to be used.
klauspost added a commit to klauspost/rclone that referenced this pull request Aug 10, 2020
Allows to compress short arbitrary strings and returns a string using base64 url encoding.

Generator for tables included and a few samples has been added.
Add more to init.go

Tested with fuzzing for crash resistance and symmetry, see fuzz.go

Requires klauspost/compress#275 - until release a replace has been added to go.mod
@klauspost klauspost merged commit 3fdfbd5 into master Aug 11, 2020
@klauspost klauspost deleted the huff0-allow-reading-table-for-compression branch August 11, 2020 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant